<@master template="common/default" title="首页">
<div class="detailsBox clearfix">
	<div class="openBox">
		<h3 class="mt20">
			<i class="jtIco"></i>项目信息
		</h3>
		<div class="detaiTab">
			<form action="<@url value='/project/save'/>" class="action-ajax-form" method="post">

				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<tbody>
						<tr>
							<td align="right" class="bg" width="18%">项目ID:</td>
							<td width="35%"><input type="hidden" name="editType" value="${editType}" /><#if editType=="create"><input type="text" name="id" value="${project.id}" /><#else>${project.id}<input type="hidden" name="id" value="${project.id}" /></#if></td>
							<td align="right" class="bg" width="18%">项目名称:</td>
							<td><input type="text" name="name" value="${project.name}" /></td>
						</tr>
						<tr>
							<td align="right" class="bg">项目所有人:</td>
							<td><@select dataSouceType="validUser" dataSouceFrom="user" class="tabInp" value="${project.ownerUserCode}" name="ownerUserCode"/> <#--<@autocomplete url="/user/autocomplete?key=" name="ownerUserName" value="${project.ownerUserCode}"
								hideIdName="ownerUserCode" /> --></td>
							<td align="right" class="bg">项目状态:</td>
							<td><@select dataSouceType="project_status" class="tabInp" value="${project.status}" name="status"/></td>
						</tr>
						<tr>
							<td align="right" class="bg">项目备注:</td>
							<td colspan="3"><input type="text" name="comments" value="${project.comments}" /></td>
						</tr>
					</tbody>
				</table>

				<div class=" mtb20 tac">
					<p class="mb20">
						<span id="errorMassege" style="color: red;" class="fs18"></span>
					</p>
					<input class="btn_auto_30 btn_blue" type="submit" value="保存项目信息" />
				</div>
			</form>
		</div>
	</div>

	<#if editType!="create">
	<div class="openBox">
		<h3 class="mt20">
			<i class="jtIco"></i>项目工单类型信息<a href="<@url value='/project/ticket-type/list?projectId=${project.id}'/>" class="action-ajax-btn fr edit btn_blue">增加项目工单类型</a>
		</h3>
		<div class="detaiTab"><@pagination paginationInfo="projectTicketTypePaginationInfo"/></div>
	</div>
	<div class="openBox">
		<h3 class="mt20">
			<i class="jtIco"></i>项目模块信息<a href="<@url value='/project/ticket-module/getInsertProjectModulePage?projectId=${project.id}'/>" class="action-ajax-btn fr edit btn_blue">增加项目模块</a>
		</h3>
		<div class="detaiTab"><@pagination paginationInfo="projectModulePaginationInfo"/></div>
	</div>
	<div class="openBox">
		<h3 class="mt20">
			<i class="jtIco"></i>项目版本信息<a href="<@url value='/project/ticket-version/getInsertProjectVersionPage?projectId=${project.id}'/>" class="action-ajax-btn fr edit btn_blue">增加项目版本</a>
		</h3>
		<div class="detaiTab"><@pagination paginationInfo="projectVersionPaginationInfo"/></div>
	</div>

</div>
</#if> </@master>
